package cn.tedu.store.mapper;

import cn.tedu.store.entity.LisResult;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
@DS("slave_2")
public interface FuYouResultMapper extends BaseMapper<LisResult> {
    LisResult getOneResult(@Param("testDate") String testDate, @Param("hisItemCode") String hisItemCode, @Param("machineCode")String machineCode);

    int selectExist(@Param("testDate") String testDate, @Param("hisItemCode") String hisItemCode, @Param("machineCode")String machineCode);
}
